package org.example.designPattern.structural.adapter;


public class Client {
    private TargetInterface target;

    public Client(TargetInterface target) {
        this.target = target;
    }

    public void execute(){
        target.prepareMethod();
        target.execute();
        target.afterMethod();
    }

}
